package com.interceptor.annotation;

import java.lang.annotation.*;

/**
 * @Description:用于权限拦截器，被该注解标记的类活方法不需要登陆即可访问
 * @date: 2018/11/23 17:48
 */
@Documented
@Inherited
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface NotLogin
{
    boolean validate() default true;
}
